﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Chinesys.Domain.Crawling
{
    public abstract class Error
    {
        public string Url { get; set;}
        public string LineNumber { get; set; }
        public string Message { get; set; }
        public string CallStack { get; set; }
        public string InnerException { get; set; }
    }

    public class ProductError : Error
    {     
        public string ProductPart { get; set; }        
    }

    public class LinkError : Error
    {
        public string LinkName { get; set; }
    }

}
